import {Component, OnInit} from '@angular/core';
import {FormsModule} from "@angular/forms";

import {ActivatedRoute} from "@angular/router";

@Component({
  selector: 'app-hello',
  templateUrl: './hello.component.html',
  styleUrls: ['./hello.component.css']
})
export class HelloComponent implements OnInit {

  name: string = 'tina'
  box: string = "div-dim";
  itemClass: string = 'item-p';

  h4Dom: boolean = false

  h3Class:string = 'h3-dom font-w string'
  isActive: boolean =false;
  fontSize: any;
isSpecial: any;
  title: any;
  constructor(private routerInfo:ActivatedRoute) {
  }

  ngOnInit(): void {
    console.log(this.routerInfo.snapshot.queryParams)
  }

  clickFun(e:Event){
    console.log(e)
    alert("hello")
  }

  inputFun(e:any){
    console.log(e.target.value)
  }

  getUerName(v:string){
    console.log(v)
  }
}
